--[[local _require = require
package.imported = {}
function import(modname)
	if package.imported[ modname ] ~= nil then
		return package.imported[ modname ]
	end
	local msg = ""
	local found = false
	for _, loader in ipairs( package.loaders ) do
		local func = loader( modname )
		if type( func ) == "function" then
			found = true
			func( modname )
			break
		elseif type( func ) == "string" then
			msg = msg .. func
		end
	end
	if found ~= true then
		error( "module '" .. modname .. "' not found: " .. msg, 2 )
	end
end

function require( modname )
	local m = package.loaded[ modname ]
	return m
end
]]--
module ("Voy", package.seeall)
package.path = package.path .. ";..\\?.lua"
require "bp"

require "TimerSys/TimerSys"


print(TimerSys.TimerProc)
--[[
for k,v in pairs(package.loaded) do
	print(k,v)
end]]--

EntSys.EntCreateClass(TimerSys.TimerProc)
t = EntSys.EntCreateEntity("Timer",nil, "clk1", 1000, 0, 1, 1)


--[[
	pr = EntSys.EntCreateEntity("Role",entityroot,
			{
				texname = "tenshi",
				scaleX = 0.8,
				scaleY = 0.8
			})
	pr.rID = 2
	pr.bx = 1
	pr.by = 1
	pr.rotY = 180
	pr.x, pr.y = -300,0
	pr.belong = "player"
	pr.bloodbar.texname = "yellowbar"
	--bf.prolelist[pr.rID] = pr
	TweenSys.TweenTo(pr, 2, {ease = "OUTCUBIC", x = 200, y = 100,alpha = 0.0})
	]]--
